package com.jili.factory;

import com.jili.entity.Course;
import lombok.NonNull;

/**
 * ClassName: Bean
 * Package com.jili.factory
 * Description:
 *
 * @Author: 廖继礼
 * @Create: 2025/2/16
 * @Version: v1.0
 */
public class Bean implements FactoryBean{
    @NonNull
    @Override
    public Object getObject() {
        Course course = new Course();
        course.setName("品德与社会");
        return course;
    }

    @Override
    public @NonNull Class<?> getObjectType() {
        return null;
    }
}
